<!DOCTYPE html>
<html lang="en">
  <head>
    <title>登录页面</title>
    <meta charset="UTF-8">
    <link rel="stylesheet" type="text/css" href="../static/js/elementUI/index.css"/>
    <link rel="stylesheet" type="text/css" href="../static/css/base.css" />
	<link rel="stylesheet" type="text/css" href="../static/js/elementUI/indexfont.css"/>
	<link rel="stylesheet" type="text/css" href="../static/js/elementUI/docs.bbc11ec.css"/>
	<link rel="stylesheet" type="text/css" href="../static/css/login.css" />

  </head>
  
  <body>
 
  	<div id="login"  v-cloak @keyup.enter="submit">
      <el-form class="demo-ruleForm login-container">
  			<h3 class="title">BMS登录</h3>
    		<el-form-item>
    			<el-row>
	    			<el-col>
		    			<div class="grid-content bg-purple">
			    			<el-input placeholder="输入帐号" v-model="userView.account"><template slot="prepend">帐号</template></el-input>
			    		</div>
	    			</el-col>
    			</el-row>
  			</el-form-item>
  			<el-form-item>
  				<el-row>
	    			<el-col>
		    			<div class="grid-content bg-purple">
			    			<el-input placeholder="输入密码" type="password" v-model="userView.password"><template slot="prepend">密码</template></el-input>
			    		</div>
	    			</el-col>
    			</el-row>
  			</el-form-item>
  			<el-form-item>
  				<el-row>
	    			<el-col :span="16">
		    			<div class="grid-content bg-purple">
			    			<el-input placeholder="输入验证码" v-model="userView.code"><template slot="prepend">验证码</template></el-input>
			    		</div>
	    			</el-col>
			   		<el-col :span="8">
			   			<div class="grid-content bg-purple">
			   				<img class="imgCode" :src="codeUrl" alt="点击刷新验证码"  @click="changeCode">
			    		</div>
			   		</el-col>
		   		</el-row>
  			</el-form-item>
  			<el-form-item style="width:100%;">
		      <el-button type="primary" style="width:100%;"  @click="submit">登录</el-button>
		    </el-form-item>
    	</el-form>  
    </div>
 
  </body>
  <script src="../static/js/lib/vue.js" type="text/javascript" charset="utf-8"></script>	
  <script src="../static/js/elementUI/index.js" type="text/javascript" charset="utf-8"></script>	
  <script src="../static/js/lib/vue-resource.js" type="text/javascript" charset="utf-8"></script>
  <script src="../static/js/base.js" type="text/javascript" charset="utf-8"></script>
  <script src="../static/js/login/login.js" type="text/javascript" charset="utf-8"></script>	
</html>
